package work.jame.blog.pojo.vo;

import work.jame.blog.pojo.User;

/**
 * 用户数据封装类
 * @author Jame!
 * @date 2023/5/14 下午 8:30
 */
public class UserVO {

    private User user;

    /**
     * 粉丝数量
     */
    private Long followingCount;

    /**
     * 关注人数
     */
    private Long followersCount;

    /**
     * 内容总数
     */
    private Long contentCount;

    /**
     * 未读消息总数
     */
    private Long noReadMessageCount;

    /**
     * 用户当前等级
     */
    private Integer userLevel;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Long getFollowingCount() {
        return followingCount;
    }

    public void setFollowingCount(Long followingCount) {
        this.followingCount = followingCount;
    }

    public Long getFollowersCount() {
        return followersCount;
    }

    public void setFollowersCount(Long followersCount) {
        this.followersCount = followersCount;
    }

    public Long getContentCount() {
        return contentCount;
    }

    public void setContentCount(Long contentCount) {
        this.contentCount = contentCount;
    }

    public Long getNoReadMessageCount() {
        return noReadMessageCount;
    }

    public void setNoReadMessageCount(Long noReadMessageCount) {
        this.noReadMessageCount = noReadMessageCount;
    }

    public Integer getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(Integer userLevel) {
        this.userLevel = userLevel;
    }

    @Override
    public String toString() {
        return "UserVO{" +
                "user=" + user +
                ", following=" + followingCount +
                ", followers=" + followersCount +
                ", contentCount=" + contentCount +
                ", noReadMessageCount=" + noReadMessageCount +
                ", userLevel=" + userLevel +
                '}';
    }
}
